';
} else {
while($row = mysqli_fetch_assoc($result)) {
$title = $row['Title'];
$marks = $row['Marks'];
$ins = $row['Instructions'];
$posted = $row['Posted_Date'];
$deadline = $row['Deadline'];
$att1 = $row['Attachment_link_1'];
$att2 = $row['Attachment_link_2'];
$att3 = $row['Attachment_link_3'];
$att4 = $row['Attachment_link_4'];
$id = $row['Lab_Report_ID'];
$full_link = "None";
if ($att1 != "") {
$full_link = "
$att1";
}
if($att2 != "") {
$full_link = $full_link."|
$att2";
}
if($att3 != "") {
$full_link = $full_link."|
$att3";
}
if($att4 != "") {
$full_link = $full_link."|
$att4";
}
echo "
MISSED
$title
($marks Marks)
$ins
Posted: $posted Deadline: $deadline
Attachments: $full_link
";
}
}
?>